public class Test {

    public static void main(String[] args) {
        int a = 10;
        System.out.println(a);

        int b = 10;
        System.out.println(b);

        System.out.println(Integer.MAX_VALUE);
        System.out.println(Integer.MIN_VALUE);

        int c = 2147483647;
        System.out.println(c);
    }
    //快捷键是：main
    public static void main1(String[] args) {
        //快捷键是：sout

        System.out.println("guts");
        System.out.println(100);
        System.out.println(3.14);
        System.out.println('A');
        System.out.println(true);
        System.out.println(false);
        //对比C语言，Java便捷性就显而易见了，printf("%d",10)
        //但也有像C语言那样的格式输出
        System.out.printf("%d\n",100);//打印一百换行
        //其实print后面加了ln是换行的意思，如：
        System.out.print(3.14);//打印3.14不换行
        System.out.println("===========");//打印===========换行
    }
}

